#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H

#include<QAbstractButton>
#include<QCheckBox>
#include<QDialog>
#include<QLineEdit>

class SettingsDialog: public QDialog{
Q_OBJECT
public:
	static void show();
private slots:
	void slotButtonClicked(QAbstractButton *button);
	//General
	void slotSetGeneralMusicDir();
	void slotGeneralChanged();
	//LastFM
	void slotLastFMSignup();
	void slotLastFMChanged();
private:
	SettingsDialog();
	void buttonOk();
	void buttonCancel();
	bool buttonApply();
	
	//General
	QLineEdit *m_editGeneralMusicDir;
	QCheckBox *m_checkboxGeneralUsePlaylist;
	
	//LastFM
	QCheckBox *m_checkboxLastFMScrobble;
	QCheckBox *m_checkboxLastFMCorrections;
};

#endif
 
